package com.intco.ait.quotation.api.common.enums;

/**
 * http request
 */
public enum ContentTypeEnum {
    /**
     * FORMURLENCODED
     */
    FORMURLENCODED("formUrlencoded", "application/x-www-form-urlencoded"),
    /**
     * JSON
     */
    JSON("json", "application/json"),
    /**
     * PLAIN
     */
    PLAIN("plain", "text/plain"),
    /**
     * XML
     */
    XML("xml", "text/xml");

    private final String value;
    private final String dec;

    public String getValue() {
        return value;
    }

    public String getDec() {
        return dec;
    }

    ContentTypeEnum(String value, String dec) {
        this.value = value;
        this.dec = dec;
    }
}
